package com.example.demo2.mapper;

import com.example.demo2.pojo.data.AddressDO;
import com.example.demo2.pojo.vo.AddressVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/** 
 * <br/>
 * Created by weidong on 2020/05/12
 */
@Repository
public interface AddressMapper {
    Integer add(AddressVO addressVO);

    Integer updateById(AddressVO addressVO);

    AddressDO findById(Integer id);

    List<AddressDO> list(AddressVO addressVO);

    List<AddressDO> listPage(AddressVO addressVO);

    Integer count(AddressVO addressVO);

    Integer deleteById(Integer id);

}